package com.personal.config;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.PropertySource;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author huangliuyong
 * @Description:spring配置类
 * @date 2025/7/9
 **/
@Configuration
@ComponentScan("com.personal.service")
@MapperScan("com.personal.mapper")
@PropertySource("classpath:jdbc.properties")
@EnableTransactionManagement
@Import({JdbcConfig.class,MyBatisPlusConfig.class})
public class SpringConfig{
}
